package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.BywViteaOwnershipRelationMapper;
import com.ruoyi.system.domain.BywViteaOwnershipRelation;
import com.ruoyi.system.service.IBywViteaOwnershipRelationService;

/**
 * 简历映射关系Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-05-24
 */
@Service
public class BywViteaOwnershipRelationServiceImpl implements IBywViteaOwnershipRelationService 
{
    @Autowired
    private BywViteaOwnershipRelationMapper bywViteaOwnershipRelationMapper;

    /**
     * 查询简历映射关系
     * 
     * @param id 简历映射关系主键
     * @return 简历映射关系
     */
    @Override
    public BywViteaOwnershipRelation selectBywViteaOwnershipRelationById(Long id)
    {
        return bywViteaOwnershipRelationMapper.selectBywViteaOwnershipRelationById(id);
    }

    /**
     * 查询简历映射关系列表
     * 
     * @param bywViteaOwnershipRelation 简历映射关系
     * @return 简历映射关系
     */
    @Override
    public List<BywViteaOwnershipRelation> selectBywViteaOwnershipRelationList(BywViteaOwnershipRelation bywViteaOwnershipRelation)
    {
        return bywViteaOwnershipRelationMapper.selectBywViteaOwnershipRelationList(bywViteaOwnershipRelation);
    }

    /**
     * 新增简历映射关系
     * 
     * @param bywViteaOwnershipRelation 简历映射关系
     * @return 结果
     */
    @Override
    public int insertBywViteaOwnershipRelation(BywViteaOwnershipRelation bywViteaOwnershipRelation)
    {
        return bywViteaOwnershipRelationMapper.insertBywViteaOwnershipRelation(bywViteaOwnershipRelation);
    }

    /**
     * 修改简历映射关系
     * 
     * @param bywViteaOwnershipRelation 简历映射关系
     * @return 结果
     */
    @Override
    public int updateBywViteaOwnershipRelation(BywViteaOwnershipRelation bywViteaOwnershipRelation)
    {
        return bywViteaOwnershipRelationMapper.updateBywViteaOwnershipRelation(bywViteaOwnershipRelation);
    }

    /**
     * 批量删除简历映射关系
     * 
     * @param ids 需要删除的简历映射关系主键
     * @return 结果
     */
    @Override
    public int deleteBywViteaOwnershipRelationByIds(Long[] ids)
    {
        return bywViteaOwnershipRelationMapper.deleteBywViteaOwnershipRelationByIds(ids);
    }

    /**
     * 删除简历映射关系信息
     * 
     * @param id 简历映射关系主键
     * @return 结果
     */
    @Override
    public int deleteBywViteaOwnershipRelationById(Long id)
    {
        return bywViteaOwnershipRelationMapper.deleteBywViteaOwnershipRelationById(id);
    }
}
